package com.buddies.lottery.exception;

/**
 * Description: 未登录异常
 * Date: 2018/2/11
 * Author: xuliang
 */
public class ApiException extends Exception {

    private int code;

    public ApiException(int err, String err_msg) {
        super(err_msg);
        this.code = err;
    }

    public int getCode() {
        return code;
    }

}
